using SqlSugar;
using System;

namespace B.S.XZYData.Domain.LJC
{
    /// <summary>
    /// 工艺路线
    /// </summary>
    [SugarTable("route")]
    public class RouteModel
    {
        /// <summary>
        /// 主键 ID
        /// </summary>
        [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// 路线编号
        /// </summary>
        [SugarColumn(ColumnName = "code", Length = 30, IsNullable = false)]
        public string Code { get; set; }

        /// <summary>
        /// 路线名称
        /// </summary>
        [SugarColumn(ColumnName = "name", Length = 100, IsNullable = false)]
        public string Name { get; set; }

        /// <summary>
        /// 是否审批
        /// </summary>
        [SugarColumn(ColumnName = "appr")]
        public byte? Approved { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "remk", Length = 255)]
        public string? Remark { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "c_by", Length = 50)]
        public string? CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "c_tm")]
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        [SugarColumn(ColumnName = "u_by", Length = 50)]
        public string? UpdateBy { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "u_tm")]
        public DateTime? UpdateTime { get; set; }




    }
} 